package com.platform.study.patterns.creational.simple_factory;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 12-11-20
 * Time: 下午4:30
 * To change this template use File | Settings | File Templates.
 */
public class OperationSub extends Operation {

    /**
     * 加法
     *
     * @return 计算结果
     */
    @Override
    public double operationResult() {
        return numberA - numberB;
    }

}
